<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .user {
            margin-top: 40px;
            height: 200px;
            width: 200px;
            background-image: url('http://opjc44vzf.bkt.clouddn.com/17-5-6/32601215-file_1494081396100_da5d.jpg');
            background-size: 200px 200px;
            border-radius: 50%;
            box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.3) inset;
            overflow: hidden;
        }

        .user:hover::after {
            content: '编辑';
            color: #ffffff;
            font-size: 30px;
            font-weight: bold;
            cursor: pointer;
            height:100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

       
    </style>
</head>

<body>
    <div class="user"></div>
</body>

</html>